/**
 * 查询列表
 */
export const useLoadLiChuanShenQingApi = (body)=>{
    return useHttpPost("/lichuanshenqing/list",{body})
}

/**
 * 保存修改
 */
export const useSaveUpdateLiChuanShenQingApi = (body)=>{
    return useHttpPost("/lichuanshenqing/saveupdate",{body})
}

/**
 * 根据ID查询明细
 */
export const useGetLiChuanShenQingApi = (id)=>{
    return useHttpPost("/lichuanshenqing/get/"+id,{})
}

/**
 * 删除
 */
export const useDelLiChuanShenQingApi = (id)=>{
    return useHttpPost("/lichuanshenqing/del/"+id,{})
}

/**
 * 修改状态
 */
export const useUpdateStatusLiChuanShenQingApi = (body)=>{
    body.field = C2B(body.field)
    return useHttpPost("/lichuanshenqing/update/status",{body})
}

/**
 * 审批
 */
export const useShenPiLiChuanShenQingApi = (body)=>{
    return useHttpPost("/lichuanshenqing/shenpi",{body})
}



/**
 * 根据调配面板查询离船申请对应的职位及职位下的船员
 */
export const useGetLiChuanChuanYuanApi = (id)=>{
    return useHttpPost("/chuanyuandiaopei/getLiChuanChuanYuan/"+id,{})
}
